﻿using HSGD.IRepository.BASE;
using HSGD.IServices.BASE;
using HSGD.IServices.HSGD_Logs;
using HSGD.Model.Models.HSGD_Staff;
using HSGD.Model.Models.HSGD_Staff.Ref;
using HSGD.Services.BASE;

namespace HSGD.IServices.HSGD_Staff;

public class RefsServices : BaseServices<Person>, IRefsServices {
    public IBaseServices<RefEmailNotice> refEmailNoticeServices { get; set; }
    public IBaseServices<RefFiscalYear> refFiscalYear { get; set; }
    public IHSGDLogsServices _logsServices { get; set; }
    //IMapper _mapper;

    public RefsServices(IBaseRepository<Person> dal/*, IMapper mapper*/) {
        base.BaseDal = dal;
        //_mapper = mapper;
    }

    public async Task<List<RefEmailNotice>> GetRefEmailNotice() {
        return await refEmailNoticeServices.Query();
    }
    public async Task<List<RefFiscalYear>> GetRefFiscalYear() {
        return await refFiscalYear.Query();
    }
}
